package com.wxxymaker.edu.utils;

/**
 * @AUTHOR soft
 * @DATE 2018/8/20 8:28
 * @DESCRIBE 用到的常量
 */
public interface Const {
    String CLASSPATH = Const.class.getResource("/").getPath();

    interface Sex {
        int MAN = 1;
        int WOMAN = 2;
    }

    String salt = "online_edu_lkl";
//    题目类型: 单选, 多选, 问答
    String[] queType = {"single_choice", "multiple_choice", "essay"};

    long tokenLimit = 5; // token默认时限 为五天

    String SHA256KEY = "sha256_jiami";

    String TOKEN_KEY = "TOKEN_KEY"; // token在cookie中的key

    String USER_KEY  = "user_key"; // 用户session key

    // 分页尺寸
    int pageSize = 10;
}
